#ifndef QPERSONWIDGET_H
#define QPERSONWIDGET_H

#include <QWidget>
#include "qperson.h"

namespace Ui {
class QPersonWidget;
}

class QPersonWidget : public QWidget
{
    Q_OBJECT

public:
    explicit QPersonWidget(QWidget *parent = nullptr);
    ~QPersonWidget();

private:
    Ui::QPersonWidget *ui;
    QPerson *pa;
    QPerson *pb;


private slots:
    void on_ageChanged(int);

    void on_pushButton_pa_age_inc_clicked();
    void on_spinBox_pa_age_valueChanged(int arg1);
    void on_pushButton_pb_age_inc_clicked();
    void on_spinBox_pb_age_valueChanged(int arg1);
    void on_pushButton_class_metainfo_clicked();
};

#endif // QPERSONWIDGET_H
